package com.cjm.one.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.goods.entity.GoodsBrowseHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cjm.one.model.goods.vo.GoodsSkuBrowseHistoryVo;
import com.cjm.one.model.goods.vo.GoodsSkuVo;

/**
* @author 29289
* @description 针对表【goods_browse_history(用户浏览记录表)】的数据库操作Service
* @createDate 2025-03-12 21:11:07
*/
public interface GoodsBrowseHistoryService extends IService<GoodsBrowseHistory> {


    Boolean addGoodsBrowseHistory(Long customerId, Long skuId);

    Boolean deleteBatchGoodsBrowseHistoryByIds(Long[] ids, Long id);

    Page<GoodsSkuVo> listGoodsBrowseHistoryByPage(Long id, Integer current, Integer size);
}
